/*
 * CriticalPrecisionListenerImpl.cpp
 *
 *  Created on: 03-08-2011
 *      Author: rego
 */

#include "CriticalPrecisionListener.h"
#include "../src/MagNum.h"
#include <iostream>

void CriticalPrecisionListenerImpl::onCriticalPrecisionReached(const MagNum& number) {
	std::cerr << "WARNING! CRITICAL PRECISION REACHED! ERROR MAY BE GREATER THAN 2^(" << number.getCurrentPrecision() << ")\n";
}
